<%@ Page Language="C#" MasterPageFile="Gallery.master" ValidateRequest="false" AutoEventWireup="true"
  CodeFile="SlideShowSettings.aspx.cs" Inherits="admin_slideshow_settings" Title="Settings" %>

<%@ Import Namespace="BlogEngine.Core" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" runat="Server">
  <h1>
    Slideshow Settings
  </h1>
  <em><%=Resources.labels.jwRotatorNotice%> <a href=""><%=Resources.labels.jwRotatorLink%>.</a></em><br /><br /> 
  <label for="<%=txtSlideshowDefaultWidth.ClientID %>"><%=Resources.labels.defaultSize %></label>
  <asp:TextBox runat="server" ID="txtSlideshowDefaultWidth" Width="50" /> X 
  <asp:TextBox runat="server" ID="txtSlideshowDefaultHeight" Width="50" />
  <asp:RequiredFieldValidator ID="txtSlideshowDefaultWidthRequired" runat="server" ControlToValidate="txtSlideshowDefaultWidth" ErrorMessage="Width Required" />
  <asp:CompareValidator ID="txtSlideshowDefaultWidthCompare" runat="server" ControlToValidate="txtSlideshowDefaultWidth" Operator="DataTypeCheck" Type="integer" ErrorMessage="Please enter a valid number for Width" />
  <asp:RequiredFieldValidator ID="txtSlideshowDefaultHeightRequired" runat="server" ControlToValidate="txtSlideshowDefaultHeight" ErrorMessage="Height Required" />
  <asp:CompareValidator ID="txtSlideshowDefaultHeightCompare" runat="server" ControlToValidate="txtSlideshowDefaultHeight" Operator="DataTypeCheck" Type="integer" ErrorMessage="Please enter a valid number for Height" /><br />

  <label for="<%=txtPhotoSize.ClientID %>"><%=Resources.labels.photoSize%></label>
        <asp:TextBox runat="server" ID="txtPhotoSize" Width="50" />
        <asp:RequiredFieldValidator ID="txtPhotoSizeRequired" runat="server" ControlToValidate="txtPhotoSize" ErrorMessage="Required" />
        <asp:CompareValidator ID="txtPhotoSizeCompare" runat="server" ControlToValidate="txtPhotoSize" Operator="DataTypeCheck" Type="integer" ErrorMessage="Please enter a valid number" />
        
  <br /><label for="<%=cbSlideshowEnableShuffleMode.ClientID %>"><%=Resources.labels.shuffleMode%></label>
  <asp:CheckBox runat="Server" ID="cbSlideshowEnableShuffleMode" /><br />
  <label for="<%=cbSlideshowShowNavBar.ClientID %>"><%=Resources.labels.showNavigation%></label>
  <asp:CheckBox runat="Server" ID="cbSlideshowShowNavBar" /><br />
  <label for="<%=cbSlideshowShowLoadIcon.ClientID %>"><%=Resources.labels.showLoadIcon%></label>
  <asp:CheckBox runat="Server" ID="cbSlideshowShowLoadIcon" /><br />
  <label for="<%=ddlSlideShowStretchImage.ClientID %>"><%=Resources.labels.stretchImage%></label>
  <asp:DropDownList runat="server" ID="ddlSlideShowStretchImage">
      <asp:ListItem Text="true"/>
      <asp:ListItem Text="false" />
      <asp:ListItem Text="fit" />
      <asp:ListItem Text="none" />
  </asp:DropDownList><br />
  <label for="<%=txtSlideshowDurationTime.ClientID %>"><%=Resources.labels.durationLabel %></label>
  <asp:TextBox runat="server" ID="txtSlideshowDurationTime" Width="50" /> <%=Resources.labels.durationPeriod %><br />
  <label for="<%=ddlSlideshowTransitionEffect.ClientID %>"><%=Resources.labels.transitionEffect%></label>
  <asp:DropDownList runat="server" ID="ddlSlideshowTransitionEffect">
      <asp:ListItem Text="fade"/>
      <asp:ListItem Text="bgfade" />
      <asp:ListItem Text="slowfade" />
      <asp:ListItem Text="circles" />
      <asp:ListItem Text="bubbles"/>
      <asp:ListItem Text="blocks" />
      <asp:ListItem Text="fluids" />
      <asp:ListItem Text="lines" />
      <asp:ListItem Text="random" />
  </asp:DropDownList><br />
  <label for="<%=txtSlideshowBackgroundColor.ClientID %>"><%=Resources.labels.backgroundColor %></label>
  <asp:TextBox runat="server" ID="txtSlideshowBackgroundColor" Width="70" /><br />
  <label for="<%=txtSlideshowTextColor.ClientID %>"><%=Resources.labels.textColor %></label>
  <asp:TextBox runat="server" ID="txtSlideshowTextColor" Width="70" /><br />
  <label for="<%=txtSlideshowRolloverColor.ClientID %>"><%=Resources.labels.rolloverColor%></label>
  <asp:TextBox runat="server" ID="txtSlideshowRolloverColor" Width="70" /><br />
  <br />
  <div align="left">
    <asp:Button runat="server" ID="btnSave" /></div>
</asp:Content>
